AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones Diagrama de Gantt
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Overwrites the working hours on a row in a Gantt Chart column in a Table or TreeView Table control.
Example
// Pour la ligne 2, les heures ouvrables vont de 9h30 à 12h puis de 13h à 18h30
GanttWorkingHour(COL_Gantt, 2, "0930", "1200", "1300", "1830")
// Pour la ligne 3, les heures ouvrables vont de 10h00 à 17h00
GanttWorkingHour(COL_Gantt, 3, "1000", "1700")
Syntax
GanttWorkingHour(<Gantt column> , <Row> , <Start time> , <End time> [, <Start time 2> [, <End time 2>]])
<Gantt column>: Control name
Name of the Gantt Chart column (in a Table or TreeView Table control) to be used.
<Row>: Integer
Number of the row to modify.
Note: The line associated with a task can be identified by the Property Line property of the GanttTask type variable.
<Start time>: Character string or Time variable
Start time of the first working time period.
<End time>: Character string or Time variable
End time of the first working time period.
<Start time 2>: Character string or Time variable
Start time of the second working time period.
<End time 2>: Character string or Time variable
End time of the second working time period.
Remarks
  • For the non-specified rows, the hours used are:
  • This function affects the drawing of the Gantt chart if the hours are displayed in the Gantt chart.
  • This function affects the calculation of the task duration if the tasks are specified in hours.
  • Two time periods can be used to define the working hours for the morning and for the afternoon for example.
Component: wd300mdl.dll
Versión mínima requerida
  • Versión 19
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 27/03/2025

Señalar un error o enviar una sugerencia | Ayuda local